﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Zocono.WCS.Domain.EntityInfo
{
    //public class RoleInfo
    //{
    //    [SugarColumn(IsPrimaryKey = true)]
    //    /// <summary>
    //    /// 角色ID
    //    /// </summary>
    //    public long RoleID { get; set; }
    //    /// <summary>
    //    /// 角色名（职位）
    //    /// </summary>
    //    public string RoleName { get; set; }
    //    /// <summary>
    //    /// 父节点
    //    /// </summary>
    //    public int ParentID { get; set; }
    //    /// <summary>
    //    /// 子节点
    //    /// </summary>
    //    public int SonID { get; set; }

    //    public string CreateUserName { get; set; }
    //    /// <summary>
    //    /// 创建时间
    //    /// </summary>
    //    public DateTime UpdateTime { get; set; }

    //    public bool IsDelete { get; set; }
    //}

    public class RoleInfo
    {
        /// <summary>
        /// 主键ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public long ID { get; set; }

        /// <summary>
        /// 角色编号
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 角色名称
        /// </summary>
        public string FullName { get; set; }

        /// <summary>
        /// 角色说明
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 更新日期
        /// </summary>
        public DateTime UpdateTime { get; set; }
    }
}
